<template>
	<view class="order">

		<!-- 轮播 -->
		<view class="banner-list">
			<u-swiper :list="bannerList" keyName="image_text" @click="bannerBtn" autoplay :interval="5000" circular
				imgMode="aspectFill" height="400rpx" radius="0"></u-swiper>
		</view>

		<!-- 通用左右边距框架 -->
		<view class="mx-20">
			<!-- nav菜单 -->
			<view :class="cate_data.length>5?'grid-column-4':'flex justify-around'" class="overflow-x-scroll bg-info-1 p-20 rd-16 shadow-s fs-24 px-20 mb-20 text-center text-nowrap relative">
				<view class="inline-block mb-20" v-for="(item,index) in cate_data" :key="index">
					<image class="w-90 h-90" :src="item.image_text"
						@click="goPath('/pages/order/text-list?m_type=3')"></image>
					<view>{{item.name}}</view>
				</view>
			</view>

			<!-- 公告 -->
			<view class="flex-y-center bg-info-1 rd-16 p-10 px-20 shadow-s mb-20">
				<image class="w-60 h-60" src="@/static/images/zixungonggao@2x.png" mode=""></image>
				<view class="w-100v">
					<u-notice-bar icon="" text="公告内容公告内容公告内容公告内容" bgColor="#fff"></u-notice-bar>
				</view>
			</view>
			<!-- 选项 -->
			<view class="bg-info-1 rd-16 p-20 py-30 mb-20">
				<view class="pb-30">郑州市管城回族区 <text class="siconfont icon-xiangxia1 fs-24 c-999"></text></view>
				<scroll-view scroll-x="true">
					<view class="w-100v text-nowrap">
						<view class="inline-block w-24v">
							<view class="w-80 h-80 bg-primary rd-20"></view>
							<view class="mt-16 text-nowrap">中国移动</view>
						</view>
						<view class="inline-block w-24v">
							<view class="w-80 h-80 bg-primary rd-20"></view>
							<view class="mt-16 text-nowrap">中国联通</view>
						</view>
						<view class="inline-block w-24v">
							<view class="w-80 h-80 bg-primary rd-20"></view>
							<view class="mt-16 text-nowrap">中国广电</view>
						</view>
						<view class="inline-block w-24v">
							<view class="w-80 h-80 bg-primary rd-20"></view>
							<view class="mt-16 text-nowrap">宽带融合</view>
						</view>
						<view class="inline-block w-24v">
							<view class="w-80 h-80 bg-primary rd-20"></view>
							<view class="mt-16 text-nowrap">低价号卡</view>
						</view>
						<view class="inline-block w-24v">
							<view class="w-80 h-80 bg-primary rd-20"></view>
							<view class="mt-16 text-nowrap">广电卡</view>
						</view>
					</view>
				</scroll-view>
			</view>
			

			<view class="search_box">
				
				<u-tabs :list="twonavList" :current="twocurrent" @click="twonavChange">
					<view slot="right" class="pl-8" @tap="bigsearch=true">
						<view class="flex-y-center"><text class="siconfont icon-shaixuan pr-10"></text>筛选</view>
						
					</view>
				</u-tabs>				
			</view>
			
			
			<!-- 号卡商品列表 -->
			<view class="pdlist">
				
				<view class="shadow-s rd-16 p-20 bg-info-1 my-20">
					<view class="flex-y-center justify-between u-border-bottom pb-20 mb-20">
						<view class="fs-30"><span class="color-primary">30006</span> - 广电柔光卡1</view>
						<view class="color-success-4">本地号段 号码可选</view>
					</view>
					<view class="flex mb-20">
						<view class="bg-primary rd-10 w-280 h-200 mr-20 relative overflow-hidden">
							<view class="absolute bg-success c-fff bottom-0 lef-0 right-0 py-4 text-nowrap fs-20 w-100v opacity-90">18-65岁可办 快递上门</view>
						</view>
						<view>
							<view class="fs-22 c-666 mb-10">每月29元100G+语音0.1元/分钟每月29元100G+语音0.1元/分钟</view>
							<view class="color-primary bg-error-1 flex-y-center justify-between rd-8 px-10 py-4 mb-10">
								<view class="color-error">首冲100元享优惠</view>
								<view class="fs-20">查看充值要求</view>
							</view>
							<view class="fs-22 c-666">推广亮点推广亮点推广亮点推广亮点亮推广亮点推广亮点推广亮点点</view>
						</view>
					</view>
					<view class="relative px-10 py-8 bg-primary-1 flex-y-center justify-between color-error rd-8 overflow-hidden mb-20">
						<view class="text-hidden-1">结算规则:特别要求特别要求特别要求特别要求求特别要求求求特别要求特别要求特别要求特别要求求特别要求求求</view>
						<u-icon name="list" size="16" color="var(--color-primary)"></u-icon>
					</view>
					<view class="flex-y-center justify-around text-center pt-20  u-border-top">
						<view class="u-border-right w-25v">产品资料</view>
						<view class="u-border-right w-25v">分享推广</view>
						<view class="u-border-right w-25v">更多操作</view>
						<view class="color-error  w-25v">
							<view>￥128.00</view>
							<view class="fs-20">当日结算</view>
						</view>
					</view>
				</view>
				
				
			</view>
			<!-- 号卡商品列表结束 -->
			

		</view>
		
		<!-- 各种弹窗及弹出层 -->
		<!-- 筛选 -->
		<u-popup :show="bigsearch" @close="bigsearch=false" mode="right">
			<view class="w-70vw p-20 pl-40">
				<view class="fs-30 fw-600">筛选条件</view>
				<view class="my-20">
					<view class="mb-10">排序方式</view>
					<view class="flex-between-center rd-16 bg-info-3 h-40 p-20" @click="showsort=true">
						<view class="c-999">请选择排序方式</view>
						<text class="siconfont icon-xiangyou1 c-999 rotate-90"></text>
					</view>
				</view>
				
				<view class="my-20">
					<view class="mb-10">结算模式</view>
					<view class="flex-between-center rd-16 bg-info-3 h-40 p-20" @click="showsort=true">
						<view class="c-999">请选择结算模式</view>
						<text class="siconfont icon-xiangyou1 c-999 rotate-90"></text>
					</view>
				</view>
				
				<view class="my-20">
					<view class="mb-10">商品名称</view>
					<u--input
					class="bg-info-3 h-40 p-20"
					    placeholder="请输入商品名称"
					    border="surround"
					    @change="change"
					  ></u--input>
				</view>
				
				<view class="my-20">
					<view class="mb-10">运营商</view>
					<view class="flex-between-center rd-16 bg-info-3 h-40 p-20" @click="showsort=true">
						<view class="c-999">请选择运营商</view>
						<text class="siconfont icon-xiangyou1 c-999 rotate-90"></text>
					</view>
				</view>
				
				<view class="my-20">
					<view class="mb-10">归属地</view>
					<u--input
					class="bg-info-3 h-40 p-20"
					    placeholder="请输入省或市"
					    border="surround"
					    @change="change"
					  ></u--input>
				</view>
				
				<view class="my-20">
					<view class="mb-10">收货地</view>
					<u--input
					class="bg-info-3 h-40 p-20"
					    placeholder="请输入省或市"
					    border="surround"
					    @change="change"
					  ></u--input>
				</view>
				
				
				
				<view class="my-20">
					<view class="mb-10">首充金额</view>
					<view class="">
						<view class="inline-block rd-8 p-20 mb-10 mx-4 bg-primary c-fff">无需充值</view>
						<view class="inline-block rd-8 bg-info-3 p-20 mb-10 mx-4">首次50</view>
						<view class="inline-block rd-8 bg-info-3 p-20 mb-10 mx-4">首冲100</view>
						<view class="inline-block rd-8 bg-info-3 p-20 mb-10 mx-4">首冲200</view>
						<view class="inline-block rd-8 bg-info-3 p-20 mb-10 mx-4">首冲300</view>
						<view class="inline-block rd-8 bg-info-3 p-20 mb-10 mx-4">首冲400</view>
						<view class="inline-block rd-8 bg-info-3 p-20 mb-10 mx-4">首冲500</view>
						
					</view>
				</view>
				
				<view class="my-20">
					<view class="mb-10">可否在线选号</view>
					<view class="">
						<view class="inline-block rd-8 p-20 mb-10 mx-4 bg-primary c-fff">在线选号</view>
						<view class="inline-block rd-8 bg-info-3 p-20 mb-10 mx-4">激活选号</view>
						<view class="inline-block rd-8 bg-info-3 p-20 mb-10 mx-4">不能选号</view>
					</view>
				</view>
				
				<view class="my-20">
					<view class="mb-10">下单年龄</view>
					<view class="flex-between-center">
						<u--input
						class="bg-info-3 h-40 p-20 mr-10"
						    placeholder="请输入最低年龄"
						    border="surround"
						    @change="change"
						  ></u--input>
						  <u--input
						  class="bg-info-3 h-40 p-20 ml-10"
						      placeholder="请输入最高年龄"
						      border="surround"
						      @change="change"
						    ></u--input>
					</view>
				</view>
				
				<view class="mt-80 flex-y-center text-center">
					<view class="bg-primary rd-8 c-fff w-100v p-20 mr-10">提交</view>
					<view class="bg-info-4 rd-8 w-100v p-20 ml-10">重置</view>
				</view>				
			</view>
			
			<!-- 排序方式 -->
			<!-- 此弹窗可复用 -->
			<u-popup :show="showsort" @close="showsort=false" mode="bottom" round="10" :closeable="true">
				<view class="p-20 py-60 fs-28 text-center">
					<view class="u-border-bottom p-20">佣金从低到高</view>
					<view class="p-20">佣金从高到低</view>
				</view>
			</u-popup>
			
			
			
		</u-popup>
		<!-- 条件筛选结束 -->
		
		
		<!-- 居中规则弹窗相关，带背景，可复用 -->
		<u-popup :show="showrules" mode="center"  @close="showrules=false" bgColor="transparent" :closeable="true">
			<view class="linear-primary-gradient rd-16 p-20 w-85vw">
				<view class="color-info-3 mb-10 py-10 text-shadow fs-36 fw-600">查看结算规则</view>
				<view class="bg-fff-7 rd-16 p-20 py-30 lh-40 fs-26" style="min-height: 45vh;">
				这里写的是富文本，暂时先用莫名奇妙的文字代替占位这里写的是富文本，暂时先用莫名奇妙的文字代替占位这里写的是富文本，暂时先用莫名奇妙的文字代替占位这里写的是富文本，暂时先用莫名奇妙的文字代替占位这里写的是富文本，暂时先用莫名奇妙的文字代替占位这里写的是富文本，暂时先用莫名奇妙的文字代替占位这里写的是富文本，暂时先用莫名奇妙的文字代替占位这里写的是富文本，暂时先用莫名奇妙的文字代替占位这里写的是富文本，暂时先用莫名奇妙的文字代替占位这里写的是富文本，暂时先用莫名奇妙的文字代替占位
				</view>
			</view>
		</u-popup>
		
		
		
		
		<page-footer v-model="navigationList"></page-footer>
	</view>
</template>

<script>
	import {
		mapState
	} from 'vuex'
	import ConfirmReceipt from '@/components/confirm_receipt/confirm_receipt.vue';
	import pageFooter from "@/components/pageFooter";
	export default {
		components: {
			ConfirmReceipt,
			pageFooter
		},
		data() {
			return {
				bigsearch:false,//大条件搜索弹窗
				showsort:false,//排序方式弹窗
				showrules:false,//规则弹窗
				bannerList: [],//轮播图
				cate_data:[],//推广必读分类
				navigationList: [{
						"name": "首页",
						"link": "/pages/home/home",
						"icon": "home-fill"
					},
					{
						"name": "推广",
						"link": "/pages/shop/inv_records",
						"icon": "share-fill"
					},
					{
						"name": "客服",
						"link": "/pages/my/kefu",
						"icon": "weixin-fill"
					},
					{
						"name": "我的",
						"link": "/pages/my/index",
						"icon": "account-fill"
					}
				],//底部导航
				navList: [{
						id: '1',
						name: '0-7日结算'
					},
					{
						id: '2',
						name: '分月预结算'
					},
					{
						id: '3',
						name: '次月底结算'
					},
				],
				twocurrent: 0,
				twonavList: [{
						id: 0,
						name: '全部'
					},
					{
						id: 1,
						name: '主推'
					},
					{
						id: 2,
						name: '联通'
					},
					{
						id: 3,
						name: '电信'
					},
					{
						id: 4,
						name: '移动'
					},
					{
						id: 5,
						name: '提前结'
					},
					{
						id: 6,
						name: '激活版'
					}
				],

				sousuo: "搜索",
				value: '',
				day_value: '',
				top_money_value: '',
				type: 'select',
				jiesuan_type: false,
				border: true,
				card_type_list: [{
						value: '',
						label: '全部'
					},
					{
						value: 2,
						label: '激活版'
					},
					{
						value: 1,
						label: '充值版'
					},
					{
						value: 3,
						label: '纯激活'
					}
				],
				day: false,
				day_value_list: [{
						value: '',
						label: '全部'
					},
					{
						value: 1,
						label: '当日结算'
					},
					{
						value: 2,
						label: '次日结算'
					},
					{
						value: 3,
						label: '第三天结算'
					},
					{
						value: 4,
						label: '第四天结算'
					},
					{
						value: 5,
						label: '第五天结算'
					},

					{
						value: 7,
						label: '2-7天结算'
					},
				],
				top_money_value_list: [{
						value: '',
						label: '全部'
					},
					{
						value: 1,
						label: '首充50'
					},
					{
						value: 2,
						label: '首充100'
					},
					{
						value: 3,
						label: '首充200'
					},
					{
						value: 4,
						label: '累充50'
					},
					{
						value: 5,
						label: '累充100'
					}
				],
				cate_id: '',
				cate_id_list: [{
						value: '',
						label: '全部'
					},
					{
						value: 1,
						label: '电信'
					},
					{
						value: 2,
						label: '联通'
					},
					{
						value: 3,
						label: '移动'
					},
				],
				package_name: '',
				current: 0,
				status: 'loadmore', //加载前值为loadmore，加载中为loading，没有数据为nomore
				page: 1,
				list: [],
				noticeList: [],
				ids: '',
				user_info: [],
				visible: false,
				show: false,
				content: '',
				gyShow: false,
				goodsShow: false,
				goodsTitle: '公告',
				goodsTongzhi: '',
				banben: '',
				card_type: '',
				day_value: '',
				qureyData: {},
				dropdownType: '',
				dropdownShow: false,
				dropdownList: [],
				zhongyaotongzhi: '',
				zytzgoodsShow: false,

				configShow: false,
				configTitle: '',
				configContent: '',
				configData: {},				
			};
		},
		computed: {
			...mapState({
				userinfo: state => state.userinfo
			}),
		},
		onShow() {
			this.shopInfo()
			// this.getMsgsend()
		},
		onLoad(opt) {
			this.page = 1
			this.ids = opt.ids;
			this.getBanners();//获取轮播图
			this.popDictionary();//首页弹窗信息
			this.msgsnedCate();//推广必读分类
			this.msgsnedList();//推广必读
			// this.getConfig()
			// this.navChange(0)
			// this.getList()
			// this.shopInfo()
			// this.getMsgsend()
		},
		onHide() {
			this.$refs.confirm_receipt.closeBtn()
		},
		methods: {
			getBanners() {
				this.$httpApi.indexBanner().then((res) => {
					this.bannerList = res.data
				})
			},
			popDictionary() {
				this.$httpApi.popDictionary().then((res) => {
					console.log("首页弹窗信息：：：",res);
				})
			},
			msgsnedCate(){
				this.$httpApi.msgsnedCate().then((res) => {
					console.log("推广必读分类：：：",res.data.cate_data);
					this.cate_data = res.data.cate_data;
				})
			},
			msgsnedList(){
				let param = {
					cate_id:1,					
				}
				this.$httpApi.msgsnedList(param).then((res) => {
					console.log("推广必读：：：",res);
				})
			},
			
			bannerBtn(index) {
				uni.navigateTo({
					url: '/pages/shop/banner_details?id=' + this.bannerList[index].id
				})
			},
			getConfig() {
				this.$httpApi.indexConfig().then(res => {
					this.configData = res.data
				})
			},
			handelConfig(index) {
				this.configShow = true
				if (index == 0) {
					this.configTitle = '0-7日结算'
					this.configContent = this.configData.qiri_content
				}
				if (index == 1) {
					this.configTitle = '分月预结算'
					this.configContent = this.configData.yugu_content
				}
				if (index == 2) {
					this.configTitle = '次月底结算'
					this.configContent = this.configData.ciyue_content
				}
			},
			closeDropdown() {
				this.$refs.uDropdown.close();
			},
			handelopup(type) {
				this.goodsTitle = type == 0 ? '推广必读' : '重要通知'
				// this.goodsShow = true
				if (type == 0) {
					this.goodsShow = true
					this.zytzgoodsShow = false
					// this.goodsTongzhi = '....'
				} else {
					this.goodsShow = false
					this.zytzgoodsShow = true
				}
			},
			goPath(url) {
				uni.navigateTo({
					url: url
				})
			},
			dropdownTitle(type) {
				const text = this[type + '_list'].find(i => this.qureyData[type] == i.value)
				return text ? text.label : '全部'
			},
			resetForm() {
				this.qureyData = {}
			},
			handelSelect(type) {
				this.dropdownShow = true
				this.dropdownType = type
				this.dropdownList = this[this.dropdownType + '_list']
			},
			selectConfirm(e) {
				this.$set(this.qureyData, this.dropdownType, e[0].value)
			},
			filterHTML(html) {
				return html.replace(/<[^<>]+>/g, '');
			},
			getMsgsend() {
				this.$httpApi.noticeBoard().then((res) => {
					console.log("公告内容：：",res);
					if (res.code == 1) {
						// this.noticeList = res.data.map(item => this.filterHTML(item.title))
						this.noticeList = res.data
						// this.townoticeList = res.data;
					}
				})
			},
			actionSheetCallback(index) {
				this.value = this.actionSheetList[index].text;
				this.banben = this.actionSheetList[index].id;
			},
			day_actionSheetCallback(index) {
				this.day_value = this.day_actionSheetList[index].text;
				this.jiesuan = this.day_actionSheetList[index].id;
			},
			handleGy() {
				this.gyShow = true
			},
			/**
			 * 滚动到顶部
			 */
			// async autoScroll() {
			// 	let el = await this.getDom('.team_top')
			// 	uni.pageScrollTo({
			// 		scrollTop: el.height,
			// 		duration: 300,
			// 		fail(e) {
			// 			console.log(e);
			// 		}
			// 	})
			// },

			/**
			 * 获取dom元素对象
			 */
			// async getDom(domSelect) {
			// 	return new Promise((resolve, reject) => {
			// 		let query = uni.createSelectorQuery().in(this)
			// 		query.select(domSelect).boundingClientRect(ret => {
			// 			resolve(ret)
			// 		}).exec()
			// 	})
			// },

			copyBtn(txt) {

				uni.setClipboardData({
					data: txt,
					success: function() {
						console.log('success');
					}
				});
			},
			txtNavBtn(type) {
				uni.navigateTo({
					url: '/pages/other/text?type=' + type
				})
			},
			msgInfo(index) {
				uni.navigateTo({
					url: '/pages/other/text?type=8&ids=' + this.noticeList[index].id
				})
			},
			// 获取用户信息
			shopInfo() {
				var that = this
				that.$tips.showLoading('加载中')
				that.$httpApi.userShop().then((res) => {
					that.$tips.hideLoading()
					if (res.code == 1) {
						that.user_info = res.data.userinfo;
						that.spread = res.data.spread
					}
				})
			},
			// 列表
			getList() {

				var that = this
				// console.log('--------');
				// console.log(that.qureyData.day_value);
				if (that.page == 1) {
					that.$tips.showLoading('加载中')
				} else {
					that.status = 'loading'
				}
				var params = {
					page: that.page,
					agent_id: that.ids,
					balance_type: that.navList[this.current].id,
					cate_id: that.twonavList[that.twocurrent].id,

					card_type: that.qureyData.card_type,
					day_value: that.qureyData.day_value,
					top_money_value: that.qureyData.top_money_value
				}
				// if(that.current == 0) {
				// 	// 日结

				// 	params.jiesuan_type = ''
				// 	// params.day_value = ''
				// } else if (that.current == 1) {
				// 	 // 主推
				// 	// params.is_extend = 2
				// 	params.day_value = 6
				// }

				// if(this.twocurrent == 0) {
				// 	params.is_extend = 2
				// }else {

				// }

				that.$httpApi.orderListGoods(params).then((res) => {
					if (res.code == 1) {
						if (that.page == 1) {
							that.list = []
							that.$tips.hideLoading()
						}
						if (res.data.current_page == res.data.last_page) {
							that.status = 'nomore'
						} else {
							that.status = 'loadmore'
						}
						that.list = that.list.concat(res.data.data)

						this.goodsTitle = '公告'
						that.goodsShow = res.data.flag
						that.goodsTongzhi = res.data.tongzhi
						that.zhongyaotongzhi = res.data.zhongyaotongzhi
					}
				})
				// that.closeDropdown();
			},

			detailsBtn(ids) {

				uni.navigateTo({
					url: '/pages/order/order_details?id=' + ids + '&agid=' + this.user_info.id
				})
			},

			// 切换
			// navChange(index) {
			// 	this.current = index
			// 	// this.qureyData.balance_type = this.navList[index].id
			// 	// this.qureyData.card_type = index == 0 ? 2 : ''
			// 	// this.qureyData.day_value = index
			// 	// this.qureyData.top_money_type = index == 0 ? 2 : ''
			// 	this.page = 1
			// 	this.resetForm()
			// 	this.getList()
			// 	// this.autoScroll()
			// },
			twonavChange(item) {
				this.twocurrent = item.index;
				this.qureyData.cate_id = item.id
				this.getList()
			},
			// 查看物流
			// logisticsBtn(val) {
			// 	uni.navigateTo({
			// 		url: '/pages/other/logistics?order=' + val
			// 	})
			// },
			// 联系店长
			// phoneBtn(phone) {
			// 	if (phone) {
			// 		uni.makePhoneCall({
			// 			phoneNumber: phone
			// 		});
			// 	}
			// },

			/**
			 * 生成海报
			 */
			createBanner(item) {
				let {
					id,
					packages_id
				} = item
				uni.navigateTo({
					url: `/pages/order/CreateBanner?id=${id}&packages_id=${packages_id}`
				})
			},

			reset() {
				this.page = 1
				this.current2 = -1
				this.package_name = ""
			},
			confirm() {
				this.page = 1
				this.getList()
			},

			// 联系客服
			kfBtn() {
				uni.navigateTo({
					url: '/pages/other/text?type=4'
				})
			},
			// 修改佣金
			receiptFour(val, rebate) {
				this.$refs.confirm_receipt.receiptFour(val)
			},
			dianji(val, title) {
				this.show = true;
				this.content = val
			},

			tongyi() {
				this.$refs.confirm_receipt.openBtnTwo(this.ids)
			},
			submitBtn() {
				this.page = 1
				this.getList()
			},
		},
		onReachBottom() {
			if (this.status == 'nomore' || this.status == 'loading') {
				return
			}
			this.page++
			this.getList()
		},
	}
</script>

<style lang="less">
	.order {
		width: 100%;
		min-width: 100%;
		background: #f5f5f5;
		color: #333;
		box-sizing: border-box;

		// 轮播
		.banner-list {
			position: relative;
			margin-bottom: -60rpx;
			z-index: 0;
		}

		// nav菜单
		// .nav-list {
		// 	display: flex;
		// 	background: #fff;
		// 	position: relative;
		// 	z-index: 3;
		// 	.nav-item {
		// 		flex: 1;
		// 		text-align: center;

		// 		.nav-item-image {
		// 			width: 90rpx;
		// 			height: 90rpx;
		// 		}
		// 	}
		// }

	}

	.dropdown-form {
		padding: 0 32rpx;
		background-color: #fff;
	}

	.dropdown-form-item {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;

		.dropdown-form-item-text {
			flex: 1;
			color: #666;
		}
	}

	.dropdown-button {
		margin-right: 32rpx;
	}

	.search_box {
		// display: flex;
		align-items: center;
		justify-content: space-between;
		position: relative;
		width: 100%;

		.search_box_tab {
			flex: 1;
		}

		::v-deep .u-dropdown__content {
			width: 750rpx;
			height: 100%;
		}

		// padding: 0 40rpx;
		.btn_box {
			width: 100%;
			display: flex;
			justify-content: center;

			.btn {
				margin: 10rpx;
				width: 160rpx;
			}

			.confirm {
				background-color: #00afaa;
				color: #fff;
			}
		}
	}

	.gy-center-title {
		padding: 20rpx 0;
		text-align: center;
		font-weight: 700;
		color: #000000;
	}

	.gy-center {
		padding: 0 30rpx;
	}

	.gy-center-p {
		padding-top: 20rpx;
		padding-bottom: 20rpx;
		line-height: 42rpx;
		color: #666;

	}

	.gy-center-p-border {
		border-bottom: 1rpx solid #e5e5e5;
	}

	.gy-content {
		height: 840rpx;
		overflow-y: auto;
	}

	.goods-tz-content {
		box-sizing: border-box;
		height: 700rpx;
		overflow-y: auto;
		cursor: pointer;
	}

	.gy-bottom {
		border-top: 1rpx solid #e5e5e5;
		text-align: center;
		padding-top: 50rpx;
		color: #148EFF;
	}


	.order {
		width: 100%;

		.header-card {
			background: #26C281;
			color: #fff;
			margin: 30rpx;
			line-height: 150%;
			padding: 30rpx;
			border-radius: 10rpx;

			.title {
				font-size: 30rpx;
				font-weight: bold;
				padding: 10rpx 0
			}
		}

		.team_top {
			position: relative;
			z-index: 10;
			width: 100%;
			left: 0;
			top: 0;
			background: #fff;
			border-bottom: 2rpx solid #f7f8fa;

			.nav {
				width: 100%;
				height: 88rpx;
			}
		}

		.no_html {
			padding: 20rpx 0;
		}

		// 
		.list {
			width: 100%;
			background: #fff;
			margin-bottom: 20rpx;
			box-sizing: border-box;
			.list_top {
				width: 100%;
				line-height: 88rpx;
				padding: 0 32rpx;
				border-bottom: 2rpx solid #f7f8fa;
				display: flex;
				align-items: center;
				justify-content: space-between;

				.text {
					font-size: 28rpx;
					font-family: PingFang SC-Regular, PingFang SC;
					font-weight: 400;
					color: #333333;
					display: flex;
					align-items: center;

					text {
						display: block;
						margin-right: 10rpx;
						padding: 0 15rpx;
						height: 40rpx;
						line-height: 40rpx;
						font-size: 24rpx;
						font-family: PingFang SC-Regular, PingFang SC;
						font-weight: 400;
						color: #FFFFFF;
						border-radius: 5rpx;
					}

					.color1 {
						background: #FFA551;
					}

					.color2 {
						background: #26C281;
					}

					.color3 {
						background: #148EFF;
					}

					.color4 {
						background: #BC171B;
					}
				}

				.right {
					color: #666;
				}

				.right1 {
					color: #FF6230;
				}
			}

			.goods_info {
				width: 100%;
				padding: 24rpx 32rpx;
				border-bottom: 2rpx solid #f7f8fa;
				display: flex;

				.image {
					position: relative;
					width: 240rpx;
					height: 240rpx;

					image {
						display: block;
						width: 100%;
						height: 100%;
						border-radius: 10rpx;
					}
				}

				.info {
					width: calc(100% - 240rpx);
					padding-left: 20rpx;

					.tips-box {

						display: flex;
						justify-content: flex-start;
						align-items: center;
						padding: 20rpx 0;
						font-size: 24rpx;

						.tips-item {
							margin-right: 10rpx;
							border-radius: 100rpx;
							padding: 6rpx 20rpx;
						}

						.aaa {
							background: #e0ecff;
							color: #1b4cd3;
						}

						.bbb {
							background: #ffebc1;
							color: #df5b1e;
						}

					}

					.pro-item {
						color: #666;
						line-height: 160%;
						font-size: 24rpx;
					}

					.name {
						width: 100%;
						font-size: 28rpx;
						font-weight: bold;
						color: #222222;
					}

					.tip {
						width: 100%;
						padding-top: 20rpx;
						display: flex;

						text {
							padding: 6rpx 10rpx;
							font-size: 24rpx;
							background: #eee;
							color: #999;
							border-radius: 5rpx;
						}
					}

					.money {
						width: 100%;
						padding-top: 10rpx;
						display: flex;
						align-items: center;

						text {
							padding-right: 32rpx;
							font-size: 28rpx;
							font-family: PingFang SC-Medium, PingFang SC;
							font-weight: 500;
						}

						.color1 {
							color: #FF6230;
						}

						.color2 {
							color: #26C281;
						}
					}

					.money1 {
						width: 100%;
						padding: 20rpx 0;
						display: flex;
						align-items: center;
						justify-content: space-between;

						.left {
							display: flex;
							align-items: center;

							image {
								display: block;
								width: 40rpx;
								height: 40rpx;
							}

							text {
								padding-left: 5rpx;
								font-size: 24rpx;
								font-weight: 600;
								color: #222222;
							}
						}

						.r-btn {
							background: #26C281;
							color: #fff;
							font-size: 24rpx;
							padding: 10rpx 20rpx;
							border-radius: 4rpx;
						}

						.right {
							font-size: 28rpx;
							font-family: PingFang SC-Regular, PingFang SC;
							font-weight: 400;
							color: #666666;
						}
					}

					.num {
						width: 100%;
						padding-top: 25rpx;
						display: flex;
						align-items: center;
						justify-content: space-between;

						.left {
							font-size: 28rpx;
							font-family: PingFang SC-Medium, PingFang SC;
							font-weight: 500;
							color: #222222;
						}

						.right {
							font-size: 28rpx;
							font-family: PingFang SC-Regular, PingFang SC;
							font-weight: 400;
							color: #666666;
						}
					}
				}
			}

			.tip_txt1 {
				width: 100%;
				padding: 25rpx 32rpx 0;
				display: flex;
				align-items: center;
				justify-content: space-between;

				.left {
					font-size: 28rpx;
					font-family: PingFang SC-Regular, PingFang SC;
					font-weight: 400;
					color: #666666;
				}

				.right {
					display: flex;
					align-items: center;

					.txt1 {
						font-size: 32rpx;
						font-family: PingFang SC-Regular, PingFang SC;
						font-weight: 400;
						color: #000000;
					}

					image {
						display: block;
						width: 40rpx;
						height: 40rpx;
					}

					.txt2 {
						padding-left: 10rpx;
						font-size: 40rpx;
						font-family: PingFang SC-Regular, PingFang SC;
						font-weight: 400;
						color: #000000;
					}
				}
			}

			.tip_txt {
				width: 100%;
				padding: 25rpx 32rpx 0;
				display: flex;
				align-items: center;
				justify-content: space-between;

				.txt {
					font-size: 32rpx;
					font-family: PingFang SC-Medium, PingFang SC;
					font-weight: 500;
					color: #222222;
					display: flex;
					align-items: center;

					text {
						display: block;
						width: 40rpx;
						height: 40rpx;
						line-height: 39rpx;
						font-size: 24rpx;
						margin-right: 5rpx;
						text-align: center;
						font-family: PingFang SC-Regular, PingFang SC;
						font-weight: 400;
						color: #FFFFFF;
						border-radius: 5rpx;
					}

					.color1 {
						background: #FF815A;
					}

					.color2 {
						background: #43A5FF;
					}

					.color3 {
						background: #51CE9A;
					}
				}
			}

			.list_btn {
				width: 100%;
				padding: 32rpx;
				display: flex;
				justify-content: flex-end;

				text {
					margin-left: 12rpx;
					display: block;
					padding: 0 20rpx;
					height: 64rpx;
					line-height: 60rpx;
					border-radius: 6rpx;
					font-size: 24rpx;
					font-family: PingFang SC-Regular, PingFang SC;
					font-weight: 400;
				}
				.btn1 {
					color: #fff;
					background: #43A5FF;
				}

				.btn2 {
					color: #26C281;
					border: 2rpx solid #26C281;
				}
			}
		}
	}
</style>